<tagLib name="html" />
<include file="Public:header" />
<div style="width:100%; height:15px;color:#000;margin:0px 0px 10px;">
    <div style="float:left;"><a href="{YICMS::U('Index/stat')}" target="main"><b>控制面板首页</b></a>&nbsp;&raquo;&nbsp;修改模板文件</div>
</div>
<form action="{YICMS::U('Templets/checkTemplets')}" method="post">
	<input type="hidden" name="file" value="{YICMS:$list.file}"/>
    <table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder">
        <tr class="header">
            <td colspan="2">修改模板文件</td>
        </tr>
        <tr>
            <td class="altbg1" width="10%"><b>模板文件名:</b></td>
            <td class="altbg2"><input type="text" style="width:250px;height:25px;"  name="name" value="{YICMS:$list.name}" readonly="readonly"/></td>
        </tr>
		<tr>
            <td class="altbg1" width="10%"><b>文件内容:</b></td>
            <td class="altbg2">
				<textarea id="editor_id" name="content" style="width:90%;height:340px;">{YICMS:$list.content}</textarea>
			</td>
        </tr>
    </table>
    <br>
    <center><input type="submit" class="button" value="修 改">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" class="button" onclick="return confirm('提示：您确定要还原吗?您在文件内容里修改的将不生效!')" value="还 原"></center><br>
</form>
<br>
<include file="Public:footer" />